package com.hualude.roadsign.model;

import javax.persistence.*;

/**
 * Created by shao-yikun on 2017/7/11.
 */
@Entity
@Table(name = "tb_solar_energy", schema = "hualude_db", catalog = "")
public class SolarEnergyEntity {
    private Integer solarEnergyId;
    private String projectNumber;
    private Integer solarEnergyRegionId;
    private String solarEnergyLongitude;
    private String solarEnergyLatitude;
    private String solarEnergyProvince;
    private String solarEnergyCity;
    private String solarEnergyArea;
    private String solarEnergyRoadName;
    private String solarEnergyStartRoad;
    private String solarEnergyEndRoad;
    private Integer solarEnergyType;
    private Integer solarEnergyStyle;
    private Integer solarEnergyMaterial;
    private String solarEnergyBrand;
    private String solarEnergyPhoto;
    private String solarEnergyInstallTime;
    private String solarEnergyInstallOrg;
    private Integer solarEnergyPeriod;
    private Integer solarEnergyServiceLife;
    private String solarEnergyRemark;
    private Integer solarEnergyCreatorId;
    private Integer solarEnergyModifierId;
    private Integer solarEnergyOrgId;
    private Integer solarEnergyMainOrgId;
    private Integer solarEnergyIsComplete;
    private String solarEnergyADeviceId;
    private Integer alarmCount;
    private String alarmDeviceId;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "SolarEnergyId")
    public Integer getSolarEnergyId() {
        return solarEnergyId;
    }

    public void setSolarEnergyId(Integer solarEnergyId) {
        this.solarEnergyId = solarEnergyId;
    }

    @Basic
    @Column(name = "ProjectNumber")
    public String getProjectNumber() {
        return projectNumber;
    }

    public void setProjectNumber(String projectNumber) {
        this.projectNumber = projectNumber;
    }

    @Basic
    @Column(name = "SolarEnergyRegionId")
    public Integer getSolarEnergyRegionId() {
        return solarEnergyRegionId;
    }

    public void setSolarEnergyRegionId(Integer solarEnergyRegionId) {
        this.solarEnergyRegionId = solarEnergyRegionId;
    }

    @Basic
    @Column(name = "SolarEnergyLongitude")
    public String getSolarEnergyLongitude() {
        return solarEnergyLongitude;
    }

    public void setSolarEnergyLongitude(String solarEnergyLongitude) {
        this.solarEnergyLongitude = solarEnergyLongitude;
    }

    @Basic
    @Column(name = "SolarEnergyLatitude")
    public String getSolarEnergyLatitude() {
        return solarEnergyLatitude;
    }

    public void setSolarEnergyLatitude(String solarEnergyLatitude) {
        this.solarEnergyLatitude = solarEnergyLatitude;
    }

    @Basic
    @Column(name = "SolarEnergyProvince")
    public String getSolarEnergyProvince() {
        return solarEnergyProvince;
    }

    public void setSolarEnergyProvince(String solarEnergyProvince) {
        this.solarEnergyProvince = solarEnergyProvince;
    }

    @Basic
    @Column(name = "SolarEnergyCity")
    public String getSolarEnergyCity() {
        return solarEnergyCity;
    }

    public void setSolarEnergyCity(String solarEnergyCity) {
        this.solarEnergyCity = solarEnergyCity;
    }

    @Basic
    @Column(name = "SolarEnergyArea")
    public String getSolarEnergyArea() {
        return solarEnergyArea;
    }

    public void setSolarEnergyArea(String solarEnergyArea) {
        this.solarEnergyArea = solarEnergyArea;
    }

    @Basic
    @Column(name = "SolarEnergyRoadName")
    public String getSolarEnergyRoadName() {
        return solarEnergyRoadName;
    }

    public void setSolarEnergyRoadName(String solarEnergyRoadName) {
        this.solarEnergyRoadName = solarEnergyRoadName;
    }

    @Basic
    @Column(name = "SolarEnergyStartRoad")
    public String getSolarEnergyStartRoad() {
        return solarEnergyStartRoad;
    }

    public void setSolarEnergyStartRoad(String solarEnergyStartRoad) {
        this.solarEnergyStartRoad = solarEnergyStartRoad;
    }

    @Basic
    @Column(name = "SolarEnergyEndRoad")
    public String getSolarEnergyEndRoad() {
        return solarEnergyEndRoad;
    }

    public void setSolarEnergyEndRoad(String solarEnergyEndRoad) {
        this.solarEnergyEndRoad = solarEnergyEndRoad;
    }

    @Basic
    @Column(name = "SolarEnergyType")
    public Integer getSolarEnergyType() {
        return solarEnergyType;
    }

    public void setSolarEnergyType(Integer solarEnergyType) {
        this.solarEnergyType = solarEnergyType;
    }

    @Basic
    @Column(name = "SolarEnergyStyle")
    public Integer getSolarEnergyStyle() {
        return solarEnergyStyle;
    }

    public void setSolarEnergyStyle(Integer solarEnergyStyle) {
        this.solarEnergyStyle = solarEnergyStyle;
    }

    @Basic
    @Column(name = "SolarEnergyMaterial")
    public Integer getSolarEnergyMaterial() {
        return solarEnergyMaterial;
    }

    public void setSolarEnergyMaterial(Integer solarEnergyMaterial) {
        this.solarEnergyMaterial = solarEnergyMaterial;
    }

    @Basic
    @Column(name = "SolarEnergyBrand")
    public String getSolarEnergyBrand() {
        return solarEnergyBrand;
    }

    public void setSolarEnergyBrand(String solarEnergyBrand) {
        this.solarEnergyBrand = solarEnergyBrand;
    }

    @Basic
    @Column(name = "SolarEnergyPhoto")
    public String getSolarEnergyPhoto() {
        return solarEnergyPhoto;
    }

    public void setSolarEnergyPhoto(String solarEnergyPhoto) {
        this.solarEnergyPhoto = solarEnergyPhoto;
    }

    @Basic
    @Column(name = "SolarEnergyInstallTime")
    public String getSolarEnergyInstallTime() {
        return solarEnergyInstallTime;
    }

    public void setSolarEnergyInstallTime(String solarEnergyInstallTime) {
        this.solarEnergyInstallTime = solarEnergyInstallTime;
    }

    @Basic
    @Column(name = "SolarEnergyInstallOrg")
    public String getSolarEnergyInstallOrg() {
        return solarEnergyInstallOrg;
    }

    public void setSolarEnergyInstallOrg(String solarEnergyInstallOrg) {
        this.solarEnergyInstallOrg = solarEnergyInstallOrg;
    }

    @Basic
    @Column(name = "SolarEnergyPeriod")
    public Integer getSolarEnergyPeriod() {
        return solarEnergyPeriod;
    }

    public void setSolarEnergyPeriod(Integer solarEnergyPeriod) {
        this.solarEnergyPeriod = solarEnergyPeriod;
    }

    @Basic
    @Column(name = "SolarEnergyServiceLife")
    public Integer getSolarEnergyServiceLife() {
        return solarEnergyServiceLife;
    }

    public void setSolarEnergyServiceLife(Integer solarEnergyServiceLife) {
        this.solarEnergyServiceLife = solarEnergyServiceLife;
    }

    @Basic
    @Column(name = "SolarEnergyRemark")
    public String getSolarEnergyRemark() {
        return solarEnergyRemark;
    }

    public void setSolarEnergyRemark(String solarEnergyRemark) {
        this.solarEnergyRemark = solarEnergyRemark;
    }

    @Basic
    @Column(name = "SolarEnergyCreatorId")
    public Integer getSolarEnergyCreatorId() {
        return solarEnergyCreatorId;
    }

    public void setSolarEnergyCreatorId(Integer solarEnergyCreatorId) {
        this.solarEnergyCreatorId = solarEnergyCreatorId;
    }

    @Basic
    @Column(name = "SolarEnergyModifierId")
    public Integer getSolarEnergyModifierId() {
        return solarEnergyModifierId;
    }

    public void setSolarEnergyModifierId(Integer solarEnergyModifierId) {
        this.solarEnergyModifierId = solarEnergyModifierId;
    }

    @Basic
    @Column(name = "SolarEnergyOrgId")
    public Integer getSolarEnergyOrgId() {
        return solarEnergyOrgId;
    }

    public void setSolarEnergyOrgId(Integer solarEnergyOrgId) {
        this.solarEnergyOrgId = solarEnergyOrgId;
    }

    @Basic
    @Column(name = "SolarEnergyMainOrgId")
    public Integer getSolarEnergyMainOrgId() {
        return solarEnergyMainOrgId;
    }

    public void setSolarEnergyMainOrgId(Integer solarEnergyMainOrgId) {
        this.solarEnergyMainOrgId = solarEnergyMainOrgId;
    }


    @Basic
    @Column(name = "SolarEnergyIsComplete")
    public Integer getSolarEnergyIsComplete() {
        return solarEnergyIsComplete;
    }

    public void setSolarEnergyIsComplete(Integer solarEnergyIsComplete) {
        this.solarEnergyIsComplete = solarEnergyIsComplete;
    }

    @Basic
    @Column(name = "SolarEnergyADeviceId")
    public String getSolarEnergyADeviceId() {
        return solarEnergyADeviceId;
    }

    public void setSolarEnergyADeviceId(String solarEnergyADeviceId) {
        this.solarEnergyADeviceId = solarEnergyADeviceId;
    }

    @Basic
    @Column(name = "AlarmCount", nullable = true)
    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    @Basic
    @Column(name = "AlarmDeviceId", nullable = true, length = 20)
    public String getAlarmDeviceId() {
        return alarmDeviceId;
    }

    public void setAlarmDeviceId(String alarmDeviceId) {
        this.alarmDeviceId = alarmDeviceId;
    }
}
